package eszkola;

import java.math.BigDecimal;

public class Person {
	private BigDecimal uid;
	private String name;
	private String surname;

	public Person(BigDecimal uid, String name, String surname) {
		setUid(uid);
		setName(name);
		setSurname(surname);
		
	}

	public BigDecimal getUid() {
		return uid;
	}

	public void setUid(BigDecimal uid) {
		this.uid = uid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return this.surname;
	}


	public void setSurname(String surname) {
		this.surname = surname;

	}

	@Override
	public String toString() {
		return "Person [uid=" + uid + ", name=" + name + ", surname=" + surname
				+ "]";
	}

	
	
	
}
